import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:sinosheets/utils/theme/theme_util.dart';

class StyleUtils {
  /*
  * 文字样式
  * ts_颜色_大小_粗细
  * 后面带_th的表示中划线
   */
  static TextStyle get ts_00_9_500 => TextStyle(color: ColorUtils.c_000000, fontSize: 9.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_00_14_400 => TextStyle(color: ColorUtils.c_000000, fontSize: 14.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_00_16_500 => TextStyle(color: ColorUtils.c_000000, fontSize: 16.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_00_16_600 => TextStyle(color: ColorUtils.c_000000, fontSize: 16.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_33_8_600 => TextStyle(color: ColorUtils.c_333333, fontSize: 8.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_33_10_600 => TextStyle(color: ColorUtils.c_333333, fontSize: 10.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_33_12_600 => TextStyle(color: ColorUtils.c_333333, fontSize: 12.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_33_13_400 => TextStyle(color: ColorUtils.c_333333, fontSize: 13.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_33_13_500 => TextStyle(color: ColorUtils.c_333333, fontSize: 13.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_33_13_600 => TextStyle(color: ColorUtils.c_333333, fontSize: 13.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_33_14_500 => TextStyle(color: ColorUtils.c_333333, fontSize: 14.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_33_14_600 => TextStyle(color: ColorUtils.c_333333, fontSize: 14.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_33_15_400 => TextStyle(color: ColorUtils.c_333333, fontSize: 15.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_33_15_600 => TextStyle(color: ColorUtils.c_333333, fontSize: 15.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_33_20_600 => TextStyle(color: ColorUtils.c_333333, fontSize: 20.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_66_11_400 => TextStyle(color: ColorUtils.c_666666, fontSize: 11.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_66_12_400 => TextStyle(color: ColorUtils.c_666666, fontSize: 12.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_66_13_400 => TextStyle(color: ColorUtils.c_666666, fontSize: 13.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_99_7_500 => TextStyle(color: ColorUtils.c_999999, fontSize: 7.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_99_9_400 => TextStyle(color: ColorUtils.c_999999, fontSize: 9.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_99_9_500 => TextStyle(color: ColorUtils.c_999999, fontSize: 9.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_99_10_400 => TextStyle(color: ColorUtils.c_999999, fontSize: 10.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_99_11_400 => TextStyle(color: ColorUtils.c_999999, fontSize: 11.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_99_12_400 => TextStyle(color: ColorUtils.c_999999, fontSize: 12.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_99_12_400_th => TextStyle(color: ColorUtils.c_999999, fontSize: 12.r, fontWeight: FontWeight.w400, decoration: TextDecoration.lineThrough);
  static TextStyle get ts_99_12_500 => TextStyle(color: ColorUtils.c_999999, fontSize: 12.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_99_13_400 => TextStyle(color: ColorUtils.c_999999, fontSize: 13.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_99_14_400 => TextStyle(color: ColorUtils.c_999999, fontSize: 14.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_99_15_400 => TextStyle(color: ColorUtils.c_999999, fontSize: 15.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_99_16_400 => TextStyle(color: ColorUtils.c_999999, fontSize: 16.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_99_16_500 => TextStyle(color: ColorUtils.c_999999, fontSize: 16.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_99_18_500 => TextStyle(color: ColorUtils.c_999999, fontSize: 18.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_cc_13_400 => TextStyle(color: ColorUtils.c_cccccc, fontSize: 13.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_ff_8_500 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 8.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_ff_9_400 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 9.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_ff_9_500 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 9.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_ff_10_600 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 10.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_ff_10_400 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 10.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_ff_11_400 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 11.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_ff_11_500 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 11.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_ff_12_500 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 12.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_ff_12_600 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 12.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_ff_13_400 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 13.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_ff_14_400 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 14.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_ff_14_500 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 14.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_ff_15_500 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 15.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_ff_15_600 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 15.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_ff_16_500 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 16.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_ff_17_500 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 17.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_ff_24_600 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 24.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_ff_35_600 => TextStyle(color: ColorUtils.c_ffffff, fontSize: 35.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_8_500 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 8.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_1f_9_400 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 9.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_1f_10_400 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 10.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_1f_11_400 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 11.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_1f_11_500 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 11.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_1f_11_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 11.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_12_400 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 12.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_1f_12_500 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 12.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_1f_12_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 12.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_13_400 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 13.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_1f_13_500 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 13.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_1f_13_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 13.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_14_400 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 14.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_1f_14_500 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 14.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_1f_14_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 14.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_15_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 15.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_16_400 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 16.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_1f_16_500 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 16.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_1f_16_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 16.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_16_700 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 16.r, fontWeight: FontWeight.w700);
  static TextStyle get ts_1f_17_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 17.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_17_700 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 17.r, fontWeight: FontWeight.w700);
  static TextStyle get ts_1f_18_500 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 18.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_1f_19_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 19.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_1f_20_500 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 20.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_20_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 20.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_21_500 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 21.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_1f_21_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 21.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_22_500 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 22.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_1f_24_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 24.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_24_700 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 24.r, fontWeight: FontWeight.w700);
  static TextStyle get ts_1f_28_500 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 28.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_1f_28_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 28.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_32_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 32.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_35_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 35.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_40_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 40.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_1f_44_600 => TextStyle(color: ColorUtils.c_1f1f1f, fontSize: 44.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_theme_8_600 => TextStyle(color: ColorUtils.themeColor, fontSize: 8.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_theme_9_400 => TextStyle(color: ColorUtils.themeColor, fontSize: 9.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_theme_10_400 => TextStyle(color: ColorUtils.themeColor, fontSize: 10.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_theme_10_500 => TextStyle(color: ColorUtils.themeColor, fontSize: 10.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_theme_10_600 => TextStyle(color: ColorUtils.themeColor, fontSize: 10.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_theme_11_400 => TextStyle(color: ColorUtils.themeColor, fontSize: 11.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_theme_11_500 => TextStyle(color: ColorUtils.themeColor, fontSize: 11.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_theme_12_400 => TextStyle(color: ColorUtils.themeColor, fontSize: 12.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_theme_12_500 => TextStyle(color: ColorUtils.themeColor, fontSize: 12.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_theme_12_600 => TextStyle(color: ColorUtils.themeColor, fontSize: 12.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_theme_12_700 => TextStyle(color: ColorUtils.themeColor, fontSize: 12.r, fontWeight: FontWeight.w700);
  static TextStyle get ts_theme_13_400 => TextStyle(color: ColorUtils.themeColor, fontSize: 13.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_theme_13_600 => TextStyle(color: ColorUtils.themeColor, fontSize: 13.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_theme_13_700 => TextStyle(color: ColorUtils.themeColor, fontSize: 13.r, fontWeight: FontWeight.w700);
  static TextStyle get ts_theme_14_400 => TextStyle(color: ColorUtils.themeColor, fontSize: 14.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_theme_14_500 => TextStyle(color: ColorUtils.themeColor, fontSize: 14.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_theme_14_600 => TextStyle(color: ColorUtils.themeColor, fontSize: 14.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_theme_15_400 => TextStyle(color: ColorUtils.themeColor, fontSize: 15.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_theme_15_600 => TextStyle(color: ColorUtils.themeColor, fontSize: 15.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_theme_16_600 => TextStyle(color: ColorUtils.themeColor, fontSize: 16.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_theme_18_600 => TextStyle(color: ColorUtils.themeColor, fontSize: 18.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_theme_20_600 => TextStyle(color: ColorUtils.themeColor, fontSize: 20.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_theme_24_600 => TextStyle(color: ColorUtils.themeColor, fontSize: 24.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_ff7819_12_400 => TextStyle(color: ColorUtils.c_ff7819, fontSize: 12.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_fe6300_8_600 => TextStyle(color: ColorUtils.c_fe6300, fontSize: 8.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_fe6300_12_600 => TextStyle(color: ColorUtils.c_fe6300, fontSize: 12.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_fd5155_8_600 => TextStyle(color: ColorUtils.c_fd5155, fontSize: 8.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_fd5155_10_600 => TextStyle(color: ColorUtils.c_fd5155, fontSize: 10.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_fd5155_11_500 => TextStyle(color: ColorUtils.c_fd5155, fontSize: 11.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_fd5155_11_600 => TextStyle(color: ColorUtils.c_fd5155, fontSize: 11.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_fd5155_12_400 => TextStyle(color: ColorUtils.c_fd5155, fontSize: 12.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_fd5155_14_500 => TextStyle(color: ColorUtils.c_fd5155, fontSize: 14.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_f95f7c_11_400 => TextStyle(color: ColorUtils.c_f95f7c, fontSize: 11.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_fd3850_14_500 => TextStyle(color: ColorUtils.c_fd3850, fontSize: 14.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_945521_13_500 => TextStyle(color: ColorUtils.c_945521, fontSize: 13.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_4d0902_11_400 => TextStyle(color: ColorUtils.c_4d0902, fontSize: 11.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_40ba9d_8_600 => TextStyle(color: ColorUtils.c_40ba9d, fontSize: 8.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_40ba9d_9_400 => TextStyle(color: ColorUtils.c_40ba9d, fontSize: 9.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_999ea6_12_500 => TextStyle(color: ColorUtils.c_999ea6, fontSize: 12.r, fontWeight: FontWeight.w500);
  static TextStyle get ts_55cbaf_10_600 => TextStyle(color: ColorUtils.c_55cbaf, fontSize: 10.r, fontWeight: FontWeight.w600);
  static TextStyle get ts_9a_10_400 => TextStyle(color: ColorUtils.c_9a9a9a, fontSize: 10.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_9a_11_400 => TextStyle(color: ColorUtils.c_9a9a9a, fontSize: 11.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_9a_12_400 => TextStyle(color: ColorUtils.c_9a9a9a, fontSize: 12.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_9a_13_400 => TextStyle(color: ColorUtils.c_9a9a9a, fontSize: 13.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_b3_12_400 => TextStyle(color: ColorUtils.c_b3b3b3, fontSize: 12.r, fontWeight: FontWeight.w400);
  static TextStyle get ts_833d03_18_700 => TextStyle(color: ColorUtils.c_833d03, fontSize: 18.r, fontWeight: FontWeight.w700);
  static TextStyle get ts_843305_16_700 => TextStyle(color: ColorUtils.c_843305, fontSize: 16.r, fontWeight: FontWeight.w700);
  static TextStyle get ts_843305_24_700 => TextStyle(color: ColorUtils.c_843305, fontSize: 24.r, fontWeight: FontWeight.w700);
  static TextStyle get ts_ebebeb_21_500 => TextStyle(color: ColorUtils.c_ebebeb, fontSize: 21.r, fontWeight: FontWeight.w500);
}

class ColorUtils {
  /// 主题颜色: #F73B2D
  static Color get themeColor => ThemeUtil.isLightMode ? hexToColor('#FFE41F') : hexToColor('#FFE41F');

  ///#000000
  static Color get c_000000 => ThemeUtil.isLightMode ? hexToColor('#000000') : hexToColor('#ffffff');

  ///#ffffff
  static Color get c_ffffff => ThemeUtil.isLightMode ? hexToColor('#ffffff') : hexToColor('#222222');

  ///#333333
  static Color get c_333333 => ThemeUtil.isLightMode ? hexToColor('#333333') : hexToColor('#E0E0E0');

  ///#666666
  static Color get c_666666 => ThemeUtil.isLightMode ? hexToColor('#666666') : hexToColor('#666666');

  ///#999999
  static Color get c_999999 => ThemeUtil.isLightMode ? hexToColor('#999999') : hexToColor('#999999');

  /// #FF3F44
  static Color get c_ff3f44 => ThemeUtil.isLightMode ? hexToColor('#FF3F44') : hexToColor('#FF3F44');

  /// #FF7819
  static Color get c_ff7819 => ThemeUtil.isLightMode ? hexToColor('#FF7819') : hexToColor('#FF7819');

  /// #9A9A9A
  static Color get c_9a9a9a => ThemeUtil.isLightMode ? hexToColor('#9A9A9A') : hexToColor('#9A9A9A');

  /// #F8F8F8
  static Color get c_f8f8f8 => ThemeUtil.isLightMode ? hexToColor('#F8F8F8') : hexToColor('#121212');

  /// #FFEFEF
  static Color get c_ffefef => ThemeUtil.isLightMode ? hexToColor('#FFEFEF') : hexToColor('#7D4242');

  /// #FD5155
  static Color get c_fd5155 => ThemeUtil.isLightMode ? hexToColor('#FD5155') : hexToColor('#FD5155');

  /// #F95F7C
  static Color get c_f95f7c => ThemeUtil.isLightMode ? hexToColor('#F95F7C') : hexToColor('#F95F7C');

  /// #F5F6F5
  static Color get c_f5f6f5 => ThemeUtil.isLightMode ? hexToColor('#F5F6F5') : hexToColor('#1A1A1A');

  /// #1F1F1F
  static Color get c_1f1f1f => ThemeUtil.isLightMode ? hexToColor('#1F1F1F') : hexToColor('#E0E0E0');

  /// #FEF2E9
  static Color get c_fef2e9 => ThemeUtil.isLightMode ? hexToColor('#FEF2E9') : hexToColor('#70534A');

  /// #FF6A00
  static Color get c_ff6a00 => ThemeUtil.isLightMode ? hexToColor('#FF6A00') : hexToColor('#FF6A00');

  /// #F9B500
  static Color get c_f9b500 => ThemeUtil.isLightMode ? hexToColor('#F9B500') : hexToColor('#F9B500');

  /// #FD3850
  static Color get c_fd3850 => ThemeUtil.isLightMode ? hexToColor('#FD3850') : hexToColor('#FD3850');

  /// #FD7B37
  static Color get c_fd7b37 => ThemeUtil.isLightMode ? hexToColor('#FD7B37') : hexToColor('#FD7B37');

  /// #945521
  static Color get c_945521 => ThemeUtil.isLightMode ? hexToColor('#945521') : hexToColor('#945521');

  /// #4D0902
  static Color get c_4d0902 => ThemeUtil.isLightMode ? hexToColor('#4D0902') : hexToColor('#4D0902');

  /// #531306
  static Color get c_531306 => ThemeUtil.isLightMode ? hexToColor('#531306') : hexToColor('#531306');

  /// #FFE3B9
  static Color get c_ffe3b9 => ThemeUtil.isLightMode ? hexToColor('#FFE3B9') : hexToColor('#FFE3B9');

  /// #DEF7F1
  static Color get c_def7f1 => ThemeUtil.isLightMode ? hexToColor('#DEF7F1') : hexToColor('#DEF7F1');

  /// #40BA9D  绿色
  static Color get c_40ba9d => ThemeUtil.isLightMode ? hexToColor('#40BA9D') : hexToColor('#40BA9D');

  /// #f5f5f9
  static Color get c_f5f5f9 => ThemeUtil.isLightMode ? hexToColor('#f5f5f9') : hexToColor('#f5f5f9');

  /// #CECECE
  static Color get c_cecece => ThemeUtil.isLightMode ? hexToColor("#CECECE") : hexToColor("#CECECE");

  /// #DCDCDC
  static Color get c_dcdcdc => ThemeUtil.isLightMode ? hexToColor("#DCDCDC") : hexToColor("#4a4a4a");

  /// #999EA6
  static Color get c_999ea6 => ThemeUtil.isLightMode ? hexToColor("#999EA6") : hexToColor("#999EA6");

  /// #F3F3F3
  static Color get c_f3f3f3 => ThemeUtil.isLightMode ? hexToColor("#F3F3F3") : hexToColor("#3e3e3e");

  /// #FD6266
  static Color get c_fd6266 => ThemeUtil.isLightMode ? hexToColor("#FD6266") : hexToColor("#FD6266");

  /// #55CBAF
  static Color get c_55cbaf => ThemeUtil.isLightMode ? hexToColor("#55CBAF") : hexToColor("#55CBAF");

  /// #FDF3EC
  static Color get c_fdf3ec => ThemeUtil.isLightMode ? hexToColor("#FDF3EC") : hexToColor("#FDF3EC");

  /// #CDCDCD
  static Color get c_cdcdcd => ThemeUtil.isLightMode ? hexToColor("#CDCDCD") : hexToColor("#CDCDCD");

  /// #CCCCCC
  static Color get c_cccccc => ThemeUtil.isLightMode ? hexToColor("#CCCCCC") : hexToColor("#CCCCCC");

  /// #EBEBEB 默认图logo颜色
  static Color get c_ebebeb => ThemeUtil.isLightMode ? hexToColor("#EBEBEB") : hexToColor("#9A9A9A");

  /// #B3B3B3
  static Color get c_b3b3b3 => ThemeUtil.isLightMode ? hexToColor("#B3B3B3") : hexToColor("#B3B3B3");

  /// #F1D0A4
  static Color get c_f1d0a4 => ThemeUtil.isLightMode ? hexToColor("#F1D0A4") : hexToColor("#F1D0A4");

  /// #E8FAF6
  static Color get c_e8faf6 => ThemeUtil.isLightMode ? hexToColor("#E8FAF6") : hexToColor("#E8FAF6");

  /// #FFFDFD
  static Color get c_fffdfd => ThemeUtil.isLightMode ? hexToColor("#FFFDFD") : hexToColor("#A66E6E");

  /// 导航栏背景色
  static Color get c_nav_bg => ThemeUtil.isLightMode ? hexToColor("#1f1f1f") : hexToColor("#222222");

  ///导航栏图标颜色
  static Color get c_nav_icon => ThemeUtil.isLightMode ? hexToColor("#1f1f1f") : hexToColor("#e0e0e0");

  ///标题文字
  static Color get c_title => ThemeUtil.isLightMode ? hexToColor("#1f1f1f") : hexToColor("#e0e0e0");

  ///辅助文字
  static Color get c_text => ThemeUtil.isLightMode ? hexToColor("#999999") : hexToColor("#999999");

  ///全局背景色
  static Color get c_bg => ThemeUtil.isLightMode ? hexToColor("#f8f8f8") : hexToColor("#121212");

  ///面积背景色
  static Color get c_area_bg => ThemeUtil.isLightMode ? hexToColor("#ffffff") : hexToColor("#222222");

  ///小面积背景色
  static Color get c_small_area_bg => ThemeUtil.isLightMode ? hexToColor("#f8f8f8") : hexToColor("#2c2c2c");

  /// #FFF3E7
  static Color get c_fff3e7 => ThemeUtil.isLightMode ? hexToColor("#FFF3E7") : hexToColor("#8C7B69");

  /// #F1F5FD
  static Color get c_f1f5fd => ThemeUtil.isLightMode ? hexToColor("#F1F5FD") : hexToColor("#515E77");

  /// #CACFD7
  static Color get c_cacfd7 => ThemeUtil.isLightMode ? hexToColor("#CACFD7") : hexToColor("#CACFD7");

  /// #FEF6EC
  static Color get c_fef6ec => ThemeUtil.isLightMode ? hexToColor("#FEF6EC") : hexToColor("#2F2C2C");

  /// #FFF6F6
  static Color get c_fff6f6 => ThemeUtil.isLightMode ? hexToColor("#FFF6F6") : hexToColor("#FFF6F6");

  /// #FFF8F2
  static Color get c_fff8f2 => ThemeUtil.isLightMode ? hexToColor("#FFF8F2") : hexToColor("#FFF8F2");

  /// #833D03
  static Color get c_833d03 => ThemeUtil.isLightMode ? hexToColor("#833D03") : hexToColor("#833D03");

  /// #FCCB77
  static Color get c_fccb77 => ThemeUtil.isLightMode ? hexToColor("#FCCB77") : hexToColor("#FCCB77");

  /// #FDF2DF
  static Color get c_fdf2df => ThemeUtil.isLightMode ? hexToColor("#FDF2DF") : hexToColor("#FDF2DF");

  /// #FFE2BD
  static Color get c_ffe2bd => ThemeUtil.isLightMode ? hexToColor("#FFE2BD") : hexToColor("#FFE2BD");

  /// #843305
  static Color get c_843305 => ThemeUtil.isLightMode ? hexToColor("#843305") : hexToColor("#843305");

  /// #EAEDEF
  static Color get c_eaedef => ThemeUtil.isLightMode ? hexToColor("#EAEDEF") : hexToColor("#EAEDEF");

  /// #FE6300
  static Color get c_fe6300 => ThemeUtil.isLightMode ? hexToColor("#FE6300") : hexToColor("#FE6300");

  /// 默认图底色
  static Color get c_f5f5f5 => ThemeUtil.isLightMode ? hexToColor("#F5F5F5") : hexToColor("#2C2C2C");

  /// #FFAC28
  static Color get c_ffac28 => ThemeUtil.isLightMode ? hexToColor("#FFAC28") : hexToColor("#FFAC28");

  /// #00CB48
  static Color get c_00cb48 => ThemeUtil.isLightMode ? hexToColor("#00CB48") : hexToColor("#00CB48");

  /// #F0FCF4
  static Color get c_f0fcf4 => ThemeUtil.isLightMode ? hexToColor("#F0FCF4") : hexToColor("#F0FCF4");

  /// 16进制字符串转Color对象；透明度固定为0xFF
  static Color hexToColor(String? s) {
    /// 6位的话补一个#
    if (s?.length == 6) {
      s = "#$s";
    }

    /// 如果传入的十六进制颜色值不符合要求，返回默认值
    if (s == null || s.length != 7 || int.tryParse(s.substring(1, 7), radix: 16) == null) {
      s = '#11BA66'; // 默认给绿色
    }
    return Color(int.parse(s.substring(1, 7), radix: 16) + 0xFF000000);
  }
}
